<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div>houdunren.com</div>
    <button onclick="make(1,2,3,3,4,4,4,4,4,5,event)">submit</button>
    <script>
      let div = document.querySelector("div");

      div.addEventListener("click", (event) => {
        console.log(event.target.textContent);
        //alert(this.textContent);
      });

      function make(...args) {
        console.log(args);
      }
      //div.onclick = show("js");
      //function show(name) {
      //  return () => {
      //    alert(name);
      //  };
      //}
    </script>
  </body>
</html>
